package com.example.diet_sport.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 伽蓝尘
 * @create 2023-06-02 17:14
 */
public class user {
    @TableId(type = IdType.AUTO)
    private Integer id;			//主键id
    private String username;	//登录名
    private String password;	//密码
    private String name;		//姓名
    private Integer gender;		//性别
    private Integer age;		//年龄
    private String avatarurl;	//头像
    private Integer height;		//身高
    private Integer weight;		//体重
    private double intake;	//可摄入热量
    private String target;		//现阶段饮食目标
    private int jianchi;
    private String bmi;

    public String getBmi() {
        return bmi;
    }

    public void setBmi(String bmi) {
        this.bmi = bmi;
    }

    public String getAvatarurl() {
        return avatarurl;
    }

    public void setAvatarurl(String avatarurl) {
        this.avatarurl = avatarurl;
    }

    public int getJianchi() {
        return jianchi;
    }

    public void setJianchi(int jianchi) {
        this.jianchi = jianchi;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getAvatarUrl() {
        return avatarurl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarurl = avatarUrl;
    }

    public Integer getHeight() {
        return height;
    }

    public void setHeight(Integer height) {
        this.height = height;
    }

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }

    public double getIntake() {
        return intake;
    }

    public void setIntake(double intake) {
        this.intake = intake;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    @Override
    public String toString() {
        return "user{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", name='" + name + '\'' +
                ", gender=" + gender +
                ", age=" + age +
                ", avatarUrl='" + avatarurl + '\'' +
                ", height=" + height +
                ", weight=" + weight +
                ", intake=" + intake +
                ", target='" + target + '\'' +
                '}';
    }
}
